package com.org.core.utils;

public class FileUtil {
	private static String PHYSICAL_PATH = null;
	/**
	 * 获取项目的物理根路径
	 * @param fieldName
	 * @param toUpper
	 * @return
	 */
	public static String getPhysicalPath() {
		if(PHYSICAL_PATH == null) {
			PHYSICAL_PATH = FileUtil.class.getClassLoader().getResource("").getPath();
		}
		return PHYSICAL_PATH;
	}
}
